@media screen and (min-width: 992px) {

    /*外框*/
    .body {
        width: 1000px;
        height: 400px;
        border: 2px solid #c68f61;
        margin: 0 auto;
        background-color: #f79646;
    }

    /*封面按钮整体*/
    .btn {
        margin-left: 30%;
        margin-top: 5%;
    }

    /*封面按钮存入取出*/
    .btn1 {
        text-align: center;
        width: 150px;
        height: 60px;
        font-weight: bold;
        color: #fff;
        border: 3px solid #ffffff;
        font-size: 30px;
        background-color: #4aabc5;
    }

    /*存入和取出按钮*/
    .btns {
        margin-top: 10px;
        margin-left: 20px;
        text-align: center;
        width: 90px;
        height: 35px;
        font-weight: bold;
        color: #fff;
        border: 2px solid #ffffff;
        font-size: 18px;
        background-color: #4aabc5;
    }

    /*存入取出按钮后基本信息*/
    .tabled {
        margin-left: 3%;
        margin-top: 2%;
        font-size: 18px;
    }

    /*封面基本信息*/
    .tableds {
        margin-left: 10%;
        margin-top: 4%;
        font-size: 18px;
    }

    /*药品信息表格*/
    #tab1 {
        width: 750px;
    }
}

@media screen and (max-width: 991px) and (min-width: 768px) {
    .body {
        width: 600px;
        height: 300px;
        border: 2px solid #c68f61;
        margin: 0 auto;
        background-color: #f79646;
    }

    .btn {
        margin-left: 30%;
        margin-top: 30px;
    }

    .btn1 {
        text-align: center;
        width: 100px;
        height: 50px;
        font-weight: bold;
        color: #fff;
        border: 2px solid #ffffff;
        font-size: 20px;
        background-color: #4aabc5;
    }


    .btns {
        margin-top: 10px;
        margin-left: 18px;
        text-align: center;
        width: 80px;
        height: 35px;
        font-weight: bold;
        color: #fff;
        border: 2px solid #ffffff;
        font-size: 16px;
        background-color: #4aabc5;
    }

    .tabled {
        margin-top: 3%;
        margin-left: 10px;
    }

    .tableds {
        margin-left: 10%;
        margin-top: 4%;
        font-size: 18px;
    }

    #tab1 {
        width: 500px;
    }
}

@media screen and (max-width: 767px) {
    .body {
        width: 390px;
        height: 230px;
        border: 2px solid #c68f61;
        margin: 0 auto;
        background-color: #f79646;
    }

    .btn {
        margin-left: 25%;
        margin-top: 30px;
    }

    .btn1 {
        text-align: center;
        width: 70px;
        height: 30px;
        font-weight: bold;
        color: #fff;
        border: 1px solid #ffffff;
        font-size: 14px;
        background-color: #4aabc5;
    }


    .btns {
        margin-top: 10px;
        margin-left: 18px;
        text-align: center;
        width: 60px;
        height: 35px;
        font-weight: bold;
        color: #fff;
        border: 1px solid #ffffff;
        font-size: 16px;
        background-color: #4aabc5;
    }

    #tab1 {
        width: 340px;
    }

    .tabled {
        margin-left: 10%;
        margin-top: 5%;
        font-size: 16px;
    }

    .tableds {
        margin-left: 10%;
        margin-top: 4%;
        font-size: 18px;
    }
}